import service from "@/utils/https";
//解析器处理器模板
/**
 *
 * 模板服务API
 */
import type {ResolverHandlerTempParams,ResolverHandlerTemp } from "@/model/temp";
import type { Result, ResultList } from "@/service/port";



export function getListAPI(params : ResolverHandlerTempParams ){
    return service({
        method: "GET",
        url: "/resolverHandlerTemp/page",
        params
    })
}


export function addAPI(data: ResolverHandlerTemp){
    return service({
        method: "POST",
        url: "/resolverHandlerTemp",
        data
    })
}


export function updateAPI(data: ResolverHandlerTemp){
    return service({
        method: "PUT",
        url: `/resolverHandlerTemp`,
        data
    })
}


export function deleteAPI(id: number){
    return service({
        method: "DELETE",
        url: `/resolverHandlerTemp/${id}`
    })
}


